package com.tarena.vehicle.management.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class VehicleInsuranceAddNewParam {
    @ApiModelProperty("保险单号")
    private String policyNum;
    @ApiModelProperty("保险公司")
    private String insuranceCompany;
    @ApiModelProperty("保险费用")
    private Double insuranceFee;
    @ApiModelProperty("保险类型 商业保险、交通保险")
    private String insuranceType;
    @ApiModelProperty("投保时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @ApiModelProperty("截止时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    @ApiModelProperty("被保人姓名")
    private String insuredPerson;
    @ApiModelProperty("被保人联系方式")
    private String insuredPhone;
    @ApiModelProperty("保险联系人姓名")
    private String contactPerson;
    @ApiModelProperty("保险人联系方式")
    private String contactPhone;
    @ApiModelProperty("被保车辆")
    private String vehicleId;
    @ApiModelProperty("保险状态 0未到期  1到期")
    private Integer status;
}
